翻訳と辞書
Words near each other
・ Personal alarm
・ Persistence of vision (disambiguation)
・ Persistence of Vision (film)
・ Persistence Software
・ Persistence Tour
・ Persistent
・ Persistent adrenarche syndrome
・ Persistent aura without infarction
・ Persistent binding
・ Persistent browser-based game
・ Persistent carbene
・ Persistent cloaca
・ Persistent Close Air Support
・ Persistent current
・ Persistent data
Persistent data structure
・ Persistent edema of rosacea
・ Persistent environment
・ Persistent fetal circulation
・ Persistent fetal vasculature
・ Persistent generalized lymphadenopathy
・ Persistent genital arousal disorder
・ Persistent homology
・ Persistent hyperplastic primary vitreous
・ Persistent identifier
・ Persistent left superior vena cava
・ Persistent luminescence
・ Persistent memory
・ Persistent Müllerian duct syndrome
・ Persistent Object Identifier


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Persistent data structure : ウィキペディア英語版
Persistent data structure

In computing, a persistent data structure is a data structure that always preserves the previous version of itself when it is modified. Such data structures are effectively immutable, as their operations do not (visibly) update the structure in-place, but instead always yield a new updated structure.
A data structure is partially persistent if all versions can be accessed but only the newest version can be modified. The data structure is fully persistent if every version can be both accessed and modified. If there is also a meld or merge operation that can create a new version from two previous versions, the data structure is called confluently persistent. Structures that are not persistent are called ephemeral.
These types of data structures are particularly common in logical and functional programming, and in a purely functional program all data is immutable, so all data structures are automatically fully persistent.〔 Persistent data structures can also be created using in-place updating of data and these may, in general, use less time or storage space than their purely functional counterparts.
While persistence can be achieved by simple copying, this is inefficient in CPU and RAM usage, because most operations make only small changes to a data structure. A better method is to exploit the similarity between the new and old versions to share structure between them, such as using the same subtree in a number of tree structures. However, because it rapidly becomes infeasible to determine how many previous versions share which parts of the structure, and because it is often desirable to discard old versions, this necessitates an environment with garbage collection.
==Partially persistent==
In the partial persistence model, we may query any previous version of the data structure, but we may only update the latest version. This implies a linear ordering among the versions.
''Three methods on balanced binary search tree:''

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Persistent data structure」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.